package com.kuangqi.paymentdemo.service;

import com.kuangqi.paymentdemo.entity.OrderInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.kuangqi.paymentdemo.entity.PayAsyncVo;
import com.kuangqi.paymentdemo.entity.PayVo;
import com.kuangqi.paymentdemo.enums.OrderStatus;

import java.util.List;

public interface OrderInfoService extends IService<OrderInfo> {
    OrderInfo createInfo(Long productID);

    void updateStatusByOrderNo(String orderNo, OrderStatus success);

    String getOrderStatus(String orderNo);

    List<OrderInfo> getNoPayOrderInfo(Integer minutes);

    OrderInfo getOrderByOrderNo(String orderNo);


    void updateStatus(PayAsyncVo payAsyncVo);


}
